package com.ssy.lingxi.order.model.vo.basic.request;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 *  查询采购会员的平台积分与供应商会员积分-供应商会员信息
 * @author ds
 * @date 2022/2/28
 * @version 2.0.0
 */
public class OrderLrcItemVO implements Serializable {

    private static final long serialVersionUID = 2690015453518710218L;
    /**
     * 供应会员Id
     */
    @NotNull(message = "供应会员Id要大于0")
    @Positive(message = "供应会员Id要大于0")
    private Long vendorMemberId;

    /**
     * 供应会员角色Id
     */
    @NotNull(message = "供应会员角色Id要大于0")
    @Positive(message = "供应会员角色Id要大于0")
    private Long vendorRoleId;

    /**
     * 供应商商品总金额
     */
    @NotNull(message = "供应商商品总金额不能为空")
    private BigDecimal memberAmount;

    /**
     * 平台商品总金额
     */
    @NotNull(message = "平台商品总金额不能为空")
    private BigDecimal platformAmount;

    public Long getVendorMemberId() {
        return vendorMemberId;
    }

    public void setVendorMemberId(Long vendorMemberId) {
        this.vendorMemberId = vendorMemberId;
    }

    public Long getVendorRoleId() {
        return vendorRoleId;
    }

    public void setVendorRoleId(Long vendorRoleId) {
        this.vendorRoleId = vendorRoleId;
    }

    public BigDecimal getMemberAmount() {
        return memberAmount;
    }

    public void setMemberAmount(BigDecimal memberAmount) {
        this.memberAmount = memberAmount;
    }

    public BigDecimal getPlatformAmount() {
        return platformAmount;
    }

    public void setPlatformAmount(BigDecimal platformAmount) {
        this.platformAmount = platformAmount;
    }
}
